from server.metadata.osdb.OSDB import OSDB
import server.metadata.Tenant as tenant

inodeDb = OSDB('inode')

def init():
    tenant.init()
    print('ok')

def addInode(inodeName, inodeInfo):
    inodeDb.add(inodeName, inodeInfo)

def getInode(inodeName):
    return inodeDb.get(inodeName)
